import httpInstance from "@/utils/http"

// 获取订单信息
export function getOrderListAPI() {
    return httpInstance({
        url: '/member/order/pre'
    })
}

// 提交订单
export function submitOrderAPI(data) {
    return httpInstance({
        url: '/member/order',
        method: 'POST',
        data
    })
}

// 个人中心-获取订单列表
export function getMyOrderListAPI(params) {
    return httpInstance({
        url: '/member/order',
        params
    })
}
